echo "Installing Ubuntu Desktop & XRDP ..."
sudo apt-get update || exit
sudo apt-get install ubuntu-desktop xrdp -y
sudo /usr/share/debconf/fix_db.pl
sudo apt-get install ubuntu-desktop xrdp -y || exit
chmod +x ~/IC.Azure.XRDP.sh || exit
sudo ~/IC.Azure.XRDP.sh || exit
sudo service xrdp restart || exit
rm ~/IC.Azure.XRDP.sh
echo "Done."